package com.lagou.code;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * Created with IntelliJ IDEA by ChouFy on 2020-06-02.
 *
 * @author chouFy
 */
@SpringBootApplication
@EnableFeignClients  // 开启Feign 客户端功能
//@EnableEurekaClient  // 开启Eureka Client（Eureka独有）
@EnableDiscoveryClient // 开启注册中心客户端 （通用型注解，比如注册到Eureka、Nacos等）
@MapperScan(basePackages = {"com.lagou.common.dao"})
public class LagouCodeService {


    public static void main(String[] args) {
        SpringApplication.run(LagouCodeService.class,args);
    }

}
